package com.weibo4j.api.domain;

import com.alibaba.fastjson.annotation.JSONField;

public class FriendShip {
	
	private SimpleUser source;
	
	private SimpleUser target;
	
	public SimpleUser getSource() {
		return source;
	}

	public void setSource(SimpleUser source) {
		this.source = source;
	}

	public SimpleUser getTarget() {
		return target;
	}

	public void setTarget(SimpleUser target) {
		this.target = target;
	}

	class SimpleUser {
		private Long id;
		
		@JSONField(name = "screen_name")
		private String screenName;
		
		@JSONField(name = "followed_by")
		private Boolean followedBy;
		
		private Boolean following;

		@JSONField(name = "notifications_enabled")
		private Boolean notificationsEnabled;

		public Long getId() {
			return id;
		}

		public void setId(Long id) {
			this.id = id;
		}

		public String getScreenName() {
			return screenName;
		}

		public void setScreenName(String screenName) {
			this.screenName = screenName;
		}

		public Boolean getFollowedBy() {
			return followedBy;
		}

		public void setFollowedBy(Boolean followedBy) {
			this.followedBy = followedBy;
		}

		public Boolean getFollowing() {
			return following;
		}

		public void setFollowing(Boolean following) {
			this.following = following;
		}

		public Boolean getNotificationsEnabled() {
			return notificationsEnabled;
		}

		public void setNotificationsEnabled(Boolean notificationsEnabled) {
			this.notificationsEnabled = notificationsEnabled;
		}
	}
}
